package com.woniu.backparking.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

/**
 * @author HashSong
 * @ClassName: JSONResult
 * @Description: 公共的返回通用类
 * @date 2021/7/9 17:17
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class JSONResult implements Serializable {
    private BaseEnum.StatusCode code;
    private BaseEnum.StatusMessage message;
    private Object obj;
    private List list;
}
